﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("ReceiveMachSchemeInfo", "ReceiveMachSchemeInfo", new string[] { "GOODSCODE" })]
    [KnownType(typeof(ReceiveMachSchemeInfo))]
    public class ReceiveMachSchemeInfo
    {

        public ReceiveMachSchemeInfo()
        {
        }
        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private string _GOODSSPEC;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSSPEC", System.Data.DbType.String)]
        public string GOODSSPEC
        {
            get { return _GOODSSPEC; }
            set { _GOODSSPEC = value; }
        }

        private string _UNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("UNITNAME", System.Data.DbType.String)]
        public string UNITNAME
        {
            get { return _UNITNAME; }
            set { _UNITNAME = value; }
        }

        private string _DGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DGOODSCODE", System.Data.DbType.String)]
        public string DGOODSCODE
        {
            get { return _DGOODSCODE; }
            set { _DGOODSCODE = value; }
        }

        private string _DGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DGOODSNAME", System.Data.DbType.String)]
        public string DGOODSNAME
        {
            get { return _DGOODSNAME; }
            set { _DGOODSNAME = value; }
        }

        private string _DGOODSSPEC;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DGOODSSPEC", System.Data.DbType.String)]
        public string DGOODSSPEC
        {
            get { return _DGOODSSPEC; }
            set { _DGOODSSPEC = value; }
        }

        private string _DUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DUNITNAME", System.Data.DbType.String)]
        public string DUNITNAME
        {
            get { return _DUNITNAME; }
            set { _DUNITNAME = value; }
        }

        private string _DDGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDGOODSNAME", System.Data.DbType.String)]
        public string DDGOODSNAME
        {
            get { return _DDGOODSNAME; }
            set { _DDGOODSNAME = value; }
        }

        private string _DDGOODSSPEC;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDGOODSSPEC", System.Data.DbType.String)]
        public string DDGOODSSPEC
        {
            get { return _DDGOODSSPEC; }
            set { _DDGOODSSPEC = value; }
        }

        private string _DDUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDUNITNAME", System.Data.DbType.String)]
        public string DDUNITNAME
        {
            get { return _DDUNITNAME; }
            set { _DDUNITNAME = value; }
        }

        private decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public decimal QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }
        private decimal _DQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DQTY", System.Data.DbType.Decimal)]
        public decimal DQTY
        {
            get { return _DQTY; }
            set { _DQTY = value; }
        }

        private string _LOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOOKUP", System.Data.DbType.String)]
        public string LOOKUP
        {
            get { return _LOOKUP; }
            set { _LOOKUP = value; }
        }


        private string _DLOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DLOOKUP", System.Data.DbType.String)]
        public string DLOOKUP
        {
            get { return _DLOOKUP; }
            set { _DLOOKUP = value; }
        }


        private string _DDLOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDLOOKUP", System.Data.DbType.String)]
        public string DDLOOKUP
        {
            get { return _DDLOOKUP; }
            set { _DDLOOKUP = value; }
        }

        private string _CUSTOMLOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CUSTOMLOOKUP", System.Data.DbType.String)]
        public string CUSTOMLOOKUP
        {
            get { return _CUSTOMLOOKUP; }
            set { _CUSTOMLOOKUP = value; }
        }

        private string _DCUSTOMLOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DCUSTOMLOOKUP", System.Data.DbType.String)]
        public string DCUSTOMLOOKUP
        {
            get { return _DCUSTOMLOOKUP; }
            set { _DCUSTOMLOOKUP = value; }
        }

        private string _DDCUSTOMLOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDCUSTOMLOOKUP", System.Data.DbType.String)]
        public string DDCUSTOMLOOKUP
        {
            get { return _DDCUSTOMLOOKUP; }
            set { _DDCUSTOMLOOKUP = value; }
        }

        private decimal _ESTIMATENUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ESTIMATENUMBER", System.Data.DbType.Decimal)]
        public decimal ESTIMATENUMBER
        {
            get { return _ESTIMATENUMBER; }
            set { _ESTIMATENUMBER = value; }
        }

        private decimal _ACTUALNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ACTUALNUMBER", System.Data.DbType.Decimal)]
        public decimal ACTUALNUMBER
        {
            get { return _ACTUALNUMBER; }
            set { _ACTUALNUMBER = value; }
        }

        private decimal _PKGLOSSQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PKGLOSSQTY", System.Data.DbType.Decimal)]
        public decimal PKGLOSSQTY
        {
            get { return _PKGLOSSQTY; }
            set { _PKGLOSSQTY = value; }
        }

        private decimal _DPKGLOSSQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DPKGLOSSQTY", System.Data.DbType.Decimal)]
        public decimal DPKGLOSSQTY
        {
            get { return _DPKGLOSSQTY; }
            set { _DPKGLOSSQTY = value; }
        }


        private decimal _DDPKGLOSSQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDPKGLOSSQTY", System.Data.DbType.Decimal)]
        public decimal DDPKGLOSSQTY
        {
            get { return _DDPKGLOSSQTY; }
            set { _DDPKGLOSSQTY = value; }
        }
        private string _PURUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PURUNITNAME", System.Data.DbType.String)]
        public string PURUNITNAME
        {
            get { return _PURUNITNAME; }
            set { _PURUNITNAME = value; }
        }
        private string _DPURUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DPURUNITNAME", System.Data.DbType.String)]
        public string DPURUNITNAME
        {
            get { return _DPURUNITNAME; }
            set { _DPURUNITNAME = value; }
        }

        private string _DDPURUNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DDPURUNITNAME", System.Data.DbType.String)]
        public string DDPURUNITNAME
        {
            get { return _DDPURUNITNAME; }
            set { _DDPURUNITNAME = value; }
        }

        private string _GOODSDOOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSDOOR", System.Data.DbType.String)]
        public string GOODSDOOR
        {
            get { return _GOODSDOOR; }
            set { _GOODSDOOR = value; }
        }


    }
}
